using System;
using System.Collections.Generic;

namespace Data.Models
{
    public partial class User
    {
        public User()
        {
            this.Purchases = new List<Purchase>();
            this.Purchases1 = new List<Purchase>();
        }

        public int ID { get; set; }
        public string UserName { get; set; }
        public string FullName { get; set; }
        public string Password { get; set; }
        public string Email { get; set; }
        public string Phone { get; set; }
        public string Avartar { get; set; }
        public Nullable<int> GroupID { get; set; }
        public Nullable<bool> Active { get; set; }
        public Nullable<System.DateTime> LastLoginDate { get; set; }
        public Nullable<System.DateTime> LastPasswordChangedDate { get; set; }
        public Nullable<System.DateTime> CreatedDate { get; set; }
        public Nullable<int> CompanyID { get; set; }
        public virtual ICollection<Purchase> Purchases { get; set; }
        public virtual ICollection<Purchase> Purchases1 { get; set; }
    }
}
